/**
*	@file RandomQueryGenerator.h
*
*	@brief this file header declare method to random generate query and simple
*
*	@author li yuchen
*
*	@date 1/28/2011
*/
#ifndef RANDOMQUERYGENERATOR_H
#define RANDOMQUERYGENERATOR_H

#include <vector>
#include <string>
using namespace std;

/** 
 *  @brief 
 *   input_file_dir should be our dropbox project home folder
 *   output_file could be just the name of the file, then it will be put in our visual studio project folder
                 or could be a complete path
 */
void RandomGenerateQuery(string input_file_dir, string output_file);
string RandomGenerateSingleQuery(string input_file_dir);

/** choose one from these function to set how many element you want in each file */
void SetQueryLimit(int klm_c,int bambang,int lyc,int lzq,int wzy,int zn,int klm_pattern,int klm_with);
void SetQueryLimitAll(int all_limit);

void RandomGenerateSimple(string output_file, int how_many_proc, int nesting_level);


#endif